package com.zmcn.flowindex.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 指标信息实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_INDEX_INFO")
public class IndexInfo implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -778355652150728375L;

	/**
	 * 指标主键
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "INDEX_ID", length = 32)
	private String indexId;

	/**
	 * 主题主键
	 */
	@Column(name = "TITLE_ID", length = 32)
	private String titleId;

	/**
	 * 指标名称
	 */
	@Column(name = "INDEX_NAME", length = 100)
	private String indexName;

	/**
	 * 指标值
	 */
	@Column(name = "INDEX_VALUE", length = 10)
	private String indexValue;

	/**
	 * 父指标
	 */
	@Column(name = "PID", length = 32)
	private String pid;

	public String getIndexId() {
		return indexId;
	}

	public void setIndexId(String indexId) {
		this.indexId = indexId;
	}

	public String getTitleId() {
		return titleId;
	}

	public void setTitleId(String titleId) {
		this.titleId = titleId;
	}

	public String getIndexName() {
		return indexName;
	}

	public void setIndexName(String indexName) {
		this.indexName = indexName;
	}

	public String getIndexValue() {
		return indexValue;
	}

	public void setIndexValue(String indexValue) {
		this.indexValue = indexValue;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

}